<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="/js/jquery-1.12.3.min.js"></script>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="/bootstrap/bootstrap.min.css">
    <script src="/bootstrap/bootstrap.min.js"></script>
    <style type="text/css">
        .vertical-center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .redcss{
            color: red;
        }
        .bg{
            height: 600px;
            background-image:url('https://res.layui.com/static/images/layui/banner/winter.jpg?v=0');
            background-size:cover;
        }

        .form{
            padding: 40px;
            margin-top: 175px;
            background: rgba(255,255,255,0.2);
        }

        .footer{
            height: 60px;
            padding-top:20px;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
        }
        h1{
            margin-left: 2rem;
            color: #1b6d85;
            font-style: italic;
        }

        body {
            background: url('https://img-blog.csdnimg.cn/20201226174942583.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0RhdmlkU2hhcmNo,size_16,color_FFFFFF,t_70') no-repeat center center fixed;
            background-size: 100%;
        }
    </style>
</head>
<body>
<div class="page-header">
    <h1>聊天登录</h1>
</div>
<div class="container-fluid">
    <div class="row bg">
        <div class="col-md-offset-6 col-md-4 col-sm-offset-3 col-sm-7 col-xs-offset-2 col-xs-8 col-lg-offset-6 col-lg-3 form">
            <form class="form-horizontal" id="loginForm" action="loginvalidate" method="post">
                <div class="form-group">
                    <label for="username" class="col-sm-4 control-label redcss">用户名</label>
                    <div class="col-sm-8">
                        <input type="text" name="username" class="form-control" id="username" placeholder="请输入用户名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-4 control-label redcss">密码</label>
                    <div class="col-sm-8">
                        <input type="password" name="password" class="form-control" id="password" placeholder="请输入密码">
                    </div>
                </div>
                <div class="form-group">
                    <label for="validateCode" class="col-sm-4 control-label redcss">验证码</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" name="pic" id="validateCode">
                    </div>
                    <div class="col-sm-4">
                        <img src="authImg" alt="" width="100px" height="38px">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"><a class="redcss">记住我</a>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" id="submitBtn" class="btn btn-success"  style="width: 50%;">登录</button>
                    </div>
                </div>
            </form>
            <span style="color: red;" id="tip"></span>
        </div>
    </div>

    <div class="footer">
        <p>19软件三班</p>
        <p>刘炜</p>
    </div>
</div>
</body>
</html>